package com.core.sax;

import java.util.Dictionary;
import java.util.Hashtable;

import org.w3c.dom.DOMException;
import org.w3c.dom.NamedNodeMap;
import org.w3c.dom.Node;


public class AttributesMap implements NamedNodeMap {

	Dictionary map= new Hashtable();
	
	public AttributesMap(String name, String value){
		map.put(name, value);
	}
	
	public void addAttribute(String name, String value){
		map.put(name, value);
	}
	
	@Override
	public int getLength() {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public Node getNamedItem(String name) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Node getNamedItemNS(String namespaceURI, String localName)
			throws DOMException {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Node item(int index) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Node removeNamedItem(String name) throws DOMException {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Node removeNamedItemNS(String namespaceURI, String localName)
			throws DOMException {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Node setNamedItem(Node arg) throws DOMException {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Node setNamedItemNS(Node arg) throws DOMException {
		// TODO Auto-generated method stub
		return null;
	}

	public String toString(){
		return map.toString();
	}
}
